#ifndef CFG_H
#define CFG_H

#include "Manager_global.h"

class CFG_EXPORT Cfg
{
public:
    Cfg();
};
extern "C" CFG_EXPORT bool AddAuthority(QString sLevel,QString auth);
extern "C" CFG_EXPORT bool DelAuthority(QString sLevel,QString auth);


extern "C" CFG_EXPORT bool CheckSetting(QString ObjName,QString user);
extern "C" CFG_EXPORT bool CheckUserPwd(QString user,QString pwd);
extern "C" CFG_EXPORT bool CheckUser(QString user);
extern "C" CFG_EXPORT bool AddUser(QString sLevel,QString user,QString pwd);
extern "C" CFG_EXPORT bool DelUser(QString user);
extern "C" CFG_EXPORT std::string GetUser(QString sLevel);

#endif // CFG_H
